"use strict";

const expect = require("chai").expect;
const config = {
  dev: require("../../config/dev/logger").dev
};

describe("config/logger", function() {
  describe("ENV=dev", function() {
    it("should have right keys", function() {
      expect(config.dev).to.be.an("Array");
      config.dev.forEach(function(c) {
        expect(c).to.have.keys("name",
                               "filename",
                               "level");
      });
    });
  });
});
